home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Online / SpeakFreely / CONTRIB / xspeakfree-0.7 / bin / xspeakfree
Text File  |  2000-05-16  |  342b  |  18 lines

  1. #!/bin/sh
  2.  
  3. LIB=`dirname $0`/../lib/xspeakfree
  4.  
  5. wish "$LIB/xspeakfree.tcl" -- "$@" &
  6. trap "/bin/sh -c \"kill $!
  7.     kill -9 \`cat /tmp/tclsh-exec.$!.*.pid\`
  8.     rm /tmp/tclsh-exec.$!.*
  9.     exit
  10.     \" >/dev/null 2>&1
  11.     " 1 2 3 6 14 15 16 17
  12. pid=$!
  13. wait $pid
  14. /bin/sh -c "
  15.     kill -9 \`cat /tmp/tclsh-exec.$!.*.pid\`
  16.     rm /tmp/tclsh-exec.$!.*
  17. " >/dev/null 2>&1
  18.